<template>
  <div id="hero" >
      英雄页面
  </div>
</template>

<script>
import {hero} from '@/api/hero'
export default {
  data() {
    return {
    }
  },
 methods:{
  async gethero(){
  const pages={
     page:2,
     pagesize:20
  }
   const res= await hero(pages)
   console.log(res)

  }
 },
 created(){
   this.gethero()
 }
}
</script>

<style>

</style>